<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <link rel="stylesheet" type="text/css" href="/epri/User/design.css" />
    </head>
    <body>
        <s:div cssClass="container1">
            <s:form action="Welcome" cssClass="connexion" theme="simple">

                <img src="<s:url value="/images/connect.png"/>" /><h1>Connexion</h1>
                <s:if test="hasActionErrors()">
                    <div class="errors">
                        <s:actionerror/>
                    </div>
                </s:if>

                <s:label value="Utilisateur" cssClass="label"/> <s:textfield name="username" label="Nom d'utilisateur" cssClass="textfield"/>
                <br/>
                <s:label value="Mot de passe" cssClass="label"/> <s:password name="password" label="Mot de passe" cssClass="textfield"/>
                <br/>
                <s:submit value="Se connecter" cssClass="submit"/>
            </s:form>
        </s:div>
    </body>
</html>